<%@page import="com.windfone.common.Constant"%>
<%@ page language="java" contentType="text/html; charset=utf-8"    pageEncoding="utf-8"%>

<%@ taglib uri="/WEB-INF/recommend.tld" prefix="windfone" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>風馳電訊-會員中心</title>
<%@ include file="head.jsp" %>
<script type="text/javascript" src="js/002.js"></script>
<script type="text/javascript" src="js/003.js"></script>
<script type="text/javascript" src="js/jquery-1.4.2.js"></script>

<link rel="stylesheet" type="text/css" href="css/index.css"/>
<link rel="stylesheet" type="text/css" href="css/header.css"/>
<link rel="stylesheet" type="text/css" href="css/reset.css"/>
<link rel="stylesheet" type="text/css" href="css/mc_master.css"/>
<link rel="stylesheet" type="text/css" href="css/membercenter.css"/>
<link rel="stylesheet" type="text/css" href="css/memberordershow.css"/>
<!-- 
<link rel="stylesheet" type="text/css" href="css/css.css"/>
<link rel="stylesheet" type="text/css" href="css/common.css"/>
 -->
<style>

#coodoo_Header a
{
	font-size:14px;
	font-weight:bold;
	font-weight:bold;
	font-size:14px;
	color:#FFFFFF;
	text-decoration:none;
}
  
</style>
<style>
html{color:black; background:white;}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,blockquote,th,td{margin:0; padding:0;}
body{font-size:12px; font-family:Arial, Helvetica, sans-serif;}
img{border:0px; vertical-align:top;}
a{font-size:12px; text-decoration:none;}
a,a:link,a:visited{color:#353535;}
a:hover{color:#fc6900;}
.margintop5{margin-top:5px;}
.floatend{clear:both; line-height:0px; height:0px; font-size:0px;}
.dl_glist{float:left; list-style-type:none; text-align:center; height:141px; padding:0 5px 5px 5px;}
.dl_glist li{word-break:bread-all;}
.dl_glist li.img{background:white;}
.dl_glist li.price{color:#009a00; font-weight:bold; font-size:13px;}
</style>
 <script>
	function alipayFormSubmit(){
		var alipayForm = document.getElementById("alipayForm");
		alipayForm.submit();
	}
	function cncardFormSubmit(){
		var cncardForm = document.getElementById("cncardForm");
		cncardForm.submit();
	}
</script>
</head>
<body style="background-color:#000000;"> 
<!-- style="background-color:#000000;" -->
<%@ include file="navigate.jsp" %>





<div class="mcmbox" style="background-color:#FFFFFF;width: 950px;margin:0 auto;">
	<div class="mcmheader"></div>
	
	<div  class="mcmleft">
		<div class="mcmlitem">
			<div class="item1"><a   class="cur" href="memberCenter.action">会员首页</a></div>
		</div>
		
        <div class="mcmlitem">
			<div class="item5"><a   href="memberOrder.action">我的订单</a></div>
		</div>	
		<div class="mcmlitem">
			<div class="item2"><a  href="memberInfo.action">个人信息</a></div>
		</div>		
		<div class="mcmlitem">
			<div class="item3"><a  href="memberPWD.action">修改密码</a></div>
		</div>		
		<%--
		<div class="mcmlitem">
			<div class="item4"><a  href="memberMsg.action">短消息</a></div>
		</div>		
		<div class="mcmlitem">
			<div class="item10"><a href="memberComplaint.action">我的投诉</a></div>
		</div>		
		 --%>
	</div>
	
	<div class="mcmright">
		<div class="mcmminfo">
			<div class="tx"><a href="memberInfo.action"><img src="images/noportrait.jpg" style="border-width: 0px; height: 50px; width: 50px;"/></a></div>
			<dl class="info">
				<dd>您的账号：<s:property value="bean.loginName"/></dd>
			</dl>
			<dl class="info">
				<dd>性别：
				<s:if test="detailBean.sex == 1">男</s:if>
				<s:if test="detailBean.sex == 0">女</s:if>
				<s:if test="detailBean.sex == -1"></s:if>
				</dd>
			</dl>
			<dl class="info">
				<dd>您的等级：<span class="red">
					 <s:if test='bean.level==1'>积分会员</s:if>
					 <s:if test='bean.level==2'>VIP会员</s:if>
					 <s:if test='bean.level==0'>注册会员</s:if>
					 </span></dd>
			</dl>
			<dl class="info">
				<dd>您的积分：<span class="red">0</span></dd>
			</dl>
			<dl class="info1">
				<dd>您的邮箱：<s:property value="detailBean.email"/> </dd>
			</dl>
			<dl class="info1">
				<dd>上次登录时间： <s:date  name='detailBean.loginTime'  format="yyyy-MM-dd HH:mm:ss" /></dd>
			</dl>
			<%--
			<div class="split"></div>
			<dl class="ts">
				<dd class="t1">温馨提示：</dd>
				<dd class="t2">您有 <span class="red">0</span> 条短消息未读</dd>
				<dd class="t2">您的购物车中有 <span class="red">0</span> 件商品未结账</dd>
				<dd class="t2">消费总额为 <span class="red">0.00</span> 元</dd>
				<dd class="t3"><a href="mobileCenter.action"><img src="images/hhzx_img16.png" alt=""/></a></dd>
				<dd class="floatend"></dd>
			</dl>
			--%>
		</div>
		<div class="content">
 
 
 
 <div class="mcbox">
	<dl class="fieldS1">
		<dd class="tleft"></dd>
		<dd class="tbg w709"><span class="legend">订单详细</span></dd>
		<dd class="tright"></dd>
		<dd class="bg w723_p10">
			<form method="post" action="memberOrderUpdate.action">
			<table class="tbl1">
				 <tr>
					<th colspan="2">订单信息</th>
				</tr>
				<tr>
					<td><span class="c1">订单编号：</span><span class="c2">${ receiveMsg.orderSeq}&nbsp;&nbsp;&nbsp;&nbsp;（<span style="color: red; font-weight: bold;">状态：等待您的付款</span>）</span></td>
					<td><span class="c1">订货时间：</span><span class="c2"><s:date  name='receiveMsg.createtime'  format="yyyy-MM-dd HH:mm:ss" /></span></td>
				</tr>
				<tr>
					<td><span class="c1">收货人姓名：</span><span class="c2"><input type="text" name="name"  value="${ receiveMsg.name}"/></span></td>
					<td><span class="c1">联系电话：</span><span class="c2"><input type="text" name="telnumber"  value="${ receiveMsg.telnumber}"/> <input type="text" name="mobile"  value="${ receiveMsg.mobile}"/></span></td>
				</tr>
				<tr>
					<td><span class="c1">详细地址：</span><span class="c2"><input type="text" name="detailaddress" size="55"  value="${ receiveMsg.detailaddress}"/></span></td>
					<td><span class="c1">邮政编码：</span><span class="c2"><input type="text" name="zipcode"  value="${ receiveMsg.zipcode}"/></span></td>
				</tr>
				<tr>
					<td colspan="2"><span class="c1">备注：</span><span class="c2"><textarea cols="80" rows="3" name="memo" >${ receiveMsg.userMemo}</textarea></span></td>
				</tr>
				<tr>
					<td colspan="2">
						<input  type="hidden" name="orderSeq"  value="${ receiveMsg.orderSeq}"/>
						<input type="submit"/>
					</td>
				</tr>
			 </table>
			 </form>
			<div class="margin20"></div>
			<table class="tbl1">
				 <tr>
					<th colspan="6">商品明细</th>
				</tr>
				<tr>
					<td class="h"><span class="c1">商品类别</span></td>
					<td class="h"><span class="c1">商品名称</span></td>
					<td class="h"><span class="c1">属性</span></td>
					<td class="h"><span class="c1">配件</span></td>
					<td class="h"><span class="c1">数量</span></td>
					<td class="h"><span class="c1">价格</span></td>
				</tr>
				<c:forEach var="mobile" items="${orderList}" varStatus="status">  
					 <tr>
					  <td class="h">
						  <span class="c2">
						  	<c:if test="${mobile.goodstype == 0 }">手机</c:if>
							<c:if test="${mobile.goodstype == 1 }">配件</c:if>
						   </span>
					  </td>
					  <td class="h">
					    <span class="c2"> ${mobile.name }</span>
					  </td>
					  <td class="h">
					    <span class="c2"><c:if test="${ mobile.colorName != null }">${ mobile.colorName }</c:if></span>
					  </td>
					  <td class="h">
					    <span class="c2">${mobile.standard}</span>
					  </td>
					  <td class="h">
					    <span class="c2">${ mobile.orderNumber }</span>
					  </td>
					  <td class="h">
					    <span class="c3">￥${mobile.price }</span>
					    <c:set var="total" value="${total+ (mobile.price * mobile.orderNumber)}"/>
					  </td>
					</tr>
				</c:forEach>
				<tr>
					<td class="hf" colspan="6">
						商品总金额：￥${total }&nbsp;&nbsp;&nbsp;&nbsp;
						支付手续费：￥0.00&nbsp;&nbsp;&nbsp;&nbsp;
						配送费用：￥${receiveMsg.postcost }&nbsp;&nbsp;&nbsp;&nbsp;
						附加商品费用：￥0.00&nbsp;&nbsp;&nbsp;&nbsp;
						订单总金额：￥${receiveMsg.totalCost}
					</td>
				</tr>
			 </table>
			<div class="margin20"></div>
			<%--
			<table class="tbl1">
				 <tr>
					<th colspan="4">附加商品</th>
				</tr>
				<tr>
					<td class="h"><span class="c2"></span></td>
					<td class="h"><span class="c2"></span></td>
					<td class="h"><span class="c2"></span></td>
					<td class="h"><span class="c3">￥0.00</span></td>
				</tr>
			 </table>
			<div class="margin20"></div>
			--%>
			<table class="tbl1">
				 <tr>
					<th colspan="4">配送方式</th>
				</tr>
				<tr>
					<td class="h"><span class="c2">
					<c:if test="${ receiveMsg.payType == 2 }">
						顺丰快递
					</c:if>
					<c:if test="${ receiveMsg.postType == 1 }">
						EMS 快递
					</c:if>
					</span></td>
					<td class="h"><span class="c2">
						<c:if test="${ receiveMsg.postType == 2 }">
							顺丰支持邮费到付，可收到货物后再自行支付邮费
						</c:if>
					</span></td>
					<td class="h"><span class="c2"></span></td>
					<td class="h"><span class="c3">
					<c:if test="${ receiveMsg.postType == 2 }">
						￥0.00
					</c:if>
					<c:if test="${ receiveMsg.postType == 1 }">
						￥40.00
					</c:if>
					</span></td>
				</tr>
			 </table>
			<div class="margin20"></div>
			<table class="tbl1">
			<tr>
					<th colspan="2">支付方式</th>
				</tr>
				<tr>
					<td style="width: 50%;">
						<span class="c1">支付类型：</span><span class="c2">在线支付</span><br/>
						<span class="c1">支付方式：</span><span class="c2">
						<c:if test="${receiveMsg.payType == '1' }">
							云网在线支付
						</c:if>
						<c:if test="${receiveMsg.payType == '2' }">
							支付宝在线支付
						</c:if>
						</span>
							<br/>
						<span class="c1">收费方式：</span><span class="c2"></span><br/>
						<span class="c1">支付费用：</span><span class="c2">0.00</span>
					</td>
					<td class="h"><span class="c2"><p>
						<c:if test="${receiveMsg.payType == '1' }">推荐一：云网在线支付 </c:if>
						<c:if test="${receiveMsg.payType == '2' }">推荐二：支付宝在线支付 </c:if>
						<font style="color: rgb(255, 0, 0);">免收手续费</font></p></span></td>
				</tr>
		</table>
			<div class="margin20"></div>
			<div id="PayOper" class="payoper">
	
				<s:if test="receiveMsg.status==0">
				<s:if test="receiveMsg.payType==1">
						<form name="cncardForm" method="post" action="pay/cncard/Send.jsp" id="cncardForm" target="_blank">
							
							<input type="hidden" id="c_ymd"  name="c_ymd" value="<s:date  name='receiveMsg.createtime'  format="yyyyMMdd" />" />
							<%-- 
							<input type="hidden" id="c_orderamount"  name="c_orderamount" value="0.01" />
							--%>
							<input type="hidden" id="c_orderamount"  name="c_orderamount" value="${receiveMsg.totalCost}" />
							<input type="hidden" id="c_email"  name="c_email" value="${receiveMsg.email}" />
							<input type="hidden" id="c_name"  name="c_name" value="${receiveMsg.name}" />
							<input type="hidden" id="c_post"  name="c_post" value="${receiveMsg.zipcode}" />
							<input type="hidden" id="c_tel"  name="c_tel" value="${receiveMsg.mobile}" />
							<input type="hidden" id="c_address"  name="c_address" value="${receiveMsg.detailaddress}" />
							<input type="hidden" id="c_order"  name="c_order" value="${receiveMsg.orderSeq}" />
						</form>
					</s:if>
					<s:if test="receiveMsg.payType==2">
						<form name="alipayForm" method="post" action="pay/alipay/alipayto.jsp" id="alipayForm" target="_blank">
							<input type="hidden" id="receive_mobile"  name="receive_mobile" value="${receiveMsg.mobile}" />
							<input type="hidden" id="receive_phone"  name="receive_phone" value="${receiveMsg.telnumber}" />
							<input type="hidden" id="zipcode"  name="zipcode" value="${receiveMsg.zipcode}" />
							<input type="hidden" id="receive_address"  name="receive_address" value="${receiveMsg.detailaddress}" />
							<input type="hidden" id="receive_name"  name="receive_name" value="${receiveMsg.name}" />
							<input type="hidden" id="logistics_fee"  name="logistics_fee" value="<c:if test='${ receiveMsg.postType == 1 }'>40.00</c:if><c:if test='${ receiveMsg.postType == 2 }'>0.00</c:if>" />
							<input type="hidden" id="logistics_type"  name="logistics_type" value="<c:if test='${ receiveMsg.postType == 2 }'>EXPRESS</c:if><c:if test='${ receiveMsg.postType == 1 }'>EMS</c:if>" />
							<input type="hidden" id="alimoney"  name="alimoney" value="${receiveMsg.totalCost}" />
							<input type="hidden" id="alibody"  name="alibody" value="${receiveMsg.userMemo}" />
							<%--
							<input type="hidden" id="alimoney"  name="alimoney" value="0.01" />
							--%>
							<input type="hidden" id="alipayGoodsName"  name="alipayGoodsName" value="${receiveMsg.allGoodsName}" />
							<input type="hidden" id="alipayOrderSeq"  name="alipayOrderSeq" value="${receiveMsg.orderSeq}" />
						</form>
					</s:if>
					</s:if>
			
</div>
		</dd>
	</dl>
</div>


		
 
	 
	<div class="floatend"></div>

 </div>
 
    









<%@ include file="bottom.jsp" %>
</div> 
<div style="width:950px;height: 15">&nbsp;</div>
</body>
</html>
